package com.hu.mapper;

import com.hu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ZhouKai
 * 2022/5/2 20:43
 */
@Mapper
public interface UserMapper {

    /**
     * 获取用户
     *
     * @param userName 账号
     * @return User
     */
    public User getUser(@Param("user_name") String userName);
}
